import { View } from "@tarojs/components"

export const TBar = (props: { title: string, children?: any }) => {
    const { title, children } = props
    return <View className="w-full h-[88px] bg-page z-10 flex items-center justify-center fixed top-0 left-0">
        <View className="text-[36px] text-white">{title}</View>
        <View className="">
            {children}
        </View>
    </View>
}